#!/bin/bash
# use the conda base environment
rm -rf build/ dist/ *.egg-info
python setup.py sdist bdist_wheel
twine upload dist/*

# documentation update
# push changes to master
# source ../.venv/bin/activate
# cd docs/
# make html
# cd ../
# git subtree push --prefix docs/_build/html origin gh-pages
# update at https://app.readthedocs.org/projects/doc-pymattersim/
# requirements: sphinx myst-parser sphinx-rtd-theme furo sphinx-material [see the above virtual environment]